package com.weixing.mall.provider.api.service;


import com.weixing.mall.base.wrapper.Result;
import com.weixing.mall.provider.api.fallback.GoodsTransBillFallBack;
import com.weixing.mall.provider.api.model.vo.ProductStockVo;
import com.weixing.mall.provider.api.model.vo.dto.BillSaveDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.ribbon.FeignRibbonClientAutoConfiguration;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(value ="mall-provider-depot",configuration = FeignRibbonClientAutoConfiguration.class,fallback = GoodsTransBillFallBack.class)
public interface GoodsTransBillServiceRpc {
    @PostMapping("api/goodstransbill/save")
    Result goodstransbill(@RequestBody BillSaveDto billSaveDto);
}
